#pragma once
#include "global.h"
#include "Socket.h"
#include "GetScreen.h"

class __declspec(dllexport) DeskTopC
{
public:
	DeskTopC(void){};
public:
	~DeskTopC(void){};

	int start(ScreenHeader& head,char* ip,int port);
	static void CALLBACK threadWork_1(SOCKET s);
	static int Auth(SOCKET client,unsigned int channelID);;
	static ScreenHeader m_screenHeader;
private:
	Socket client;

};
